package com.yanqu.road.entity.activity.seacraft.pirateriot.eliminate;

import com.alibaba.fastjson.annotation.JSONField;
import com.yanqu.road.entity.activity.seacraft.pirateriot.SeacraftPirateRiotChange;

import java.util.ArrayList;
import java.util.List;

/**
 * 方块
 */
public class SeacraftPirateRiotBlock {

    private int x;
    private int y;
    private int c;

    private boolean eliminate = false;
    private List<SeacraftPirateRiotChange> changeList = new ArrayList<>();

    public SeacraftPirateRiotBlock(int x, int y, int c) {
        this.x = x;
        this.y = y;
        this.c = c;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getC() {
        return c;
    }

    public void setC(int c) {
        this.c = c;
    }

    public List<SeacraftPirateRiotChange> getChangeList() {
        return changeList;
    }

    public void setChangeList(List<SeacraftPirateRiotChange> changeList) {
        this.changeList = changeList;
    }

    public boolean isEliminate() {
        return eliminate;
    }

    public void setEliminate(boolean eliminate) {
        this.eliminate = eliminate;
    }
}
